import Layout from '@/layout/index.vue'

export default {
  path: '/roles',
  component: Layout,
  alwaysShow: true,
  meta: { title: '业务管理', icon: 'el-icon-lock' },
  children: [ 
    {
      path: 'card', name: 'card', component: () => import('@/views/article/cards.vue'), 
      meta: { title: '内容列表', icon: 'el-icon-menu', }
    },
    {
      path: 'list', name: 'list', component: () => import('@/views/article/list.vue'), 
      meta: { title: '内容表格', icon: 'el-icon-menu', }
    },
    {
      path: 'detail', name: 'detail', component: () => import('@/views/article/detail.vue'), hidden: false, 
      meta: { title: '内容编辑', icon: 'el-icon-menu', }
    }, 
  ]
}
/*
{
  path: 'index', name: 'Index', component: () => import('@/views/roles/index.vue'), 
  meta: { title: '角色列表', icon: 'el-icon-menu', activeMenu: '/roles/index' }
},
{
  path: 'rights', name: 'Rights', component: () => import('@/views/roles/rights.vue'),
  meta: { title: '权限列表', icon: 'el-icon-s-data' }
}
*/